package com.neuronbit.businessflow.intellij.lang;

import com.intellij.ide.structureView.StructureViewBuilder;
import com.intellij.ide.structureView.StructureViewModel;
import com.intellij.ide.structureView.StructureViewModelBase;
import com.intellij.ide.structureView.StructureViewTreeElement;
import com.intellij.openapi.editor.Editor;
import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * The type Bpm structure view builder.
 */
public class BpmStructureViewBuilder extends StructureViewModelBase implements StructureViewModel.ElementInfoProvider {


    /**
     * Instantiates a new Bpm structure view builder.
     *
     * @param psiFile the psi file
     */
    public BpmStructureViewBuilder(@NotNull PsiFile psiFile ) {
        super(psiFile, new BpmStructureViewTreeRootElement(psiFile));
    }

    @Override
    public boolean isAlwaysShowsPlus(StructureViewTreeElement structureViewTreeElement) {
        return false;
    }

    @Override
    public boolean isAlwaysLeaf(StructureViewTreeElement structureViewTreeElement) {
        return false;
    }
}
